package com.eshore.norm.pojo.po;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 安全组列表
 *
 * @author: v-chenjl62
 * @date: 2024/1/11 8:50
 */
@NoArgsConstructor
@Data
public class NormAddressGroupPO {

    @JsonProperty("address_groups")
    private List<AddressGroupsDTO> addressGroups;

    @NoArgsConstructor
    @Data
    public static class AddressGroupsDTO {
        @JsonProperty("tenant_id")
        private String tenantId;
        @JsonProperty("addresses")
        private List<String> addresses;
        @JsonProperty("updated_at")
        private String updatedAt;
        @JsonProperty("project_id")
        private String projectId;
        @JsonProperty("name")
        private String name;
        @JsonProperty("description")
        private String description;
        @JsonProperty("created_at")
        private String createdAt;
        @JsonProperty("id")
        private String id;
        @JsonProperty("sys_tags")
        private List<String> sysTags;
        @JsonProperty("tags")
        private List<String> tags;
    }
}
